Skip to content

Conversation

@nMouginot
Copy link

This PR introduces an optional TextSearch? text parameter to the search() method, enabling developers to perform deep full-text search using Laravel REST API's SearchFactory.

Why?

Currently, the search() method lacks support for text-based search queries, limiting developers to basic filtering. This addition allows leveraging Laravel's built-in full-text search capabilities, improving query flexibility for complex search scenarios (e.g., phrase matching, fuzzy search, or multi-field text queries).

Example Usage

final response = await repository.search(
   text: TextSearch(value: "my text search"),
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants